package cn.wolfcode.service;


import cn.wolfcode.domain.Department;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;


public interface IDepartmentService {
    void insert(Department record);

    void updateByPrimaryKey(Department record);

    void deleteByPrimaryKey(Long id);

    Department selectByPrimaryKey(Long id);

    List<Department> selectAll();

    PageInfo<Department> query(QueryObject qo);
}
